package com.bishe.pojo;

import com.bishe.utils.ColumnUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import javafx.scene.input.DataFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户
 * @date 2022/03/02 38:11:51
 */
@Data
@ApiModel("客户")
public class Clientinfo implements Serializable {


    //主键id
    @ApiModelProperty("主键")
    private String id;



    //名称
    @ApiModelProperty("名称")
    private String name;


    //性别
    @ApiModelProperty("性别")
    private String sex;


    //账号
    @ApiModelProperty("账号")
    private String count;


    @ApiModelProperty("出生日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;


    //电话
    @ApiModelProperty("电话")
    private String phone;


    //邮箱
    @ApiModelProperty("邮箱")
    private String Email;

    //创建时间
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    // 业务类型
    @ApiModelProperty("业务类型")
    private String type;

}
